package cn.yi.newsys.pojo;

import java.util.Date;

/**
 * 评论实体类
 * @author Lenovo
 *
 */
public class Comment {
	
	private Integer cid ;		// 评论编号
	private Integer cnid ;		// 新闻编号
	private String ccontent ;	// 评论内容
	private Date cdate ;		// 评论时间
	private String cip ;		// 评论 IP
	private String cauthor ;	// 评论作者
	
	
	public Integer getCid() {
		return cid;
	}
	public void setCid(Integer cid) {
		this.cid = cid;
	}
	public Integer getCnid() {
		return cnid;
	}
	public void setCnid(Integer cnid) {
		this.cnid = cnid;
	}
	public String getCcontent() {
		return ccontent;
	}
	public void setCcontent(String ccontent) {
		this.ccontent = ccontent;
	}
	public Date getCdate() {
		return cdate;
	}
	public void setCdate(Date cdate) {
		this.cdate = cdate;
	}
	public String getCip() {
		return cip;
	}
	public void setCip(String cip) {
		this.cip = cip;
	}
	public String getCauthor() {
		return cauthor;
	}
	public void setCauthor(String cauthor) {
		this.cauthor = cauthor;
	}
	
	/**
	 * 构造方法
	 * @param cid
	 * @param cnid
	 * @param ccontent
	 * @param cdate
	 * @param cip
	 * @param cauthor
	 */
	public Comment(Integer cid, Integer cnid, String ccontent, Date cdate,
			String cip, String cauthor) {
		super();
		this.cid = cid;
		this.cnid = cnid;
		this.ccontent = ccontent;
		this.cdate = cdate;
		this.cip = cip;
		this.cauthor = cauthor;
	}
	
	/**
	 * 构造方法
	 */
	public Comment() {
		super();
	}
	
	
}
